package org.little.util;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Tinyspot
 * @date 2022-05-28 21:21
 */
public class MessageTracker {

    private static List<String> MESSAGES = new ArrayList<>();

    public static void addMessage(String message) {
        MESSAGES.add(message);
    }

    public static void clearMessage() {
        MESSAGES.clear();
    }

    public static List<String> getMessages() {
        return MESSAGES;
    }
}
